package sctu.edu.java.year2016.team01.xuhanmei.day20160520.practice1;

/**
 * Created by Administrator on 2016/5/24.
 */
public class Scores1 {
    public static void main(String[] args) {
        int[][] myscore = new int[][]{{67, 78, 99, 56, 67}, {45, 67, 89, 78, 74},
                {88, 74, 82, 46, 90}};
        System.out.println("宝宝这次的成绩是：\n数学\t语文\t英语\t美术\t历史");
        No1:
        for (int[] is : myscore) {
            for (int i : is) {
                System.out.println(i + " ");
                if (i < 60) {
                    System.out.println("\t咦！等等！" + i + "分的是什么？这个为什么不及格？");
                    break No1;
                }
            }
            System.out.println();
        }
    }
}
